package com.zz.course.params;

import org.testng.annotations.Parameters;
import org.testng.annotations.Test;

public class ParamterTest02 {

    /*
        Parameters中的key值一定要与xml中的一一对应
     */
    @Test
    @Parameters({"userName","password"})
    public void paramter01 (String userName, String password) {
        System.out.println("ParamterTest02 username: " + userName + " pw: " + password);
    }

}
